
from google.appengine.ext import db

from turnited.model.liga import LigaModel as LigaModel
from turnited.model.manager import Manager

class TeamModel(db.Model):
    name = db.StringProperty(required=True)
    user = db.UserProperty(auto_current_user_add=True)
    liga = db.ReferenceProperty(LigaModel, required=True)
    manager = db.ReferenceProperty(Manager, required=True)

